<script type="text/javascript" src="<!--{$T.js}!-->common.js"></script>
<body>
<style type="text/css">
body {
	background:#FFF
}
.pageColumn table tr td a{color:#005F8C;}
</style>
<div id="contentWrap">
<div class="pageTitle"><h1>广告列表</h1></div>
<div class="pageColumn">

  <table>
    <thead>
      <th width="10%">ID</th>
      <th width="50%">名称</th>
      <th width="20%">类型</th>
      <th width="20%">操作</th>
    </thead>
    
    <tbody>
    <!--{section name=list loop=$T.AdList.con}!-->
    	<tr>
        <td><!--{$T.AdList.con[list].adid}!--></td>
        <td><!--{$T.AdList.con[list].name}!--></td>
        <td><!--{$T.AdList.con[list].type}!--></td>
        <td>
        <a href="?m=Admin/Ad/EditAd&adid=<!--{$T.AdList.con[list].adid}!-->">[编辑]</a>
        <a href="?m=Admin/Ad/DeletiAd&adid=<!--{$T.AdList.con[list].adid}!-->" onClick="return confirm('确认要删除?');">[删除]</a>
        </td>
        </tr>
    <!--{/section}!-->
    </tbody>
    
    <tfoot>
       <th height="40"></th>
       <th></th>
       <th></th>
       <th></th>
       <th></th>
       <th></th>
    </tfoot>
  </table>   
   <!--{if $T.AdList.Num>10}!-->
  <span>总共<!--{$T.AdList.Num}!-->个省份</span>
	   <span>&nbsp;&nbsp;&nbsp;</span>
	   <a href="?m=Admin/Ad/AdList&&page=<!--{$T.AdList.pageOne}!-->">
	      首页
	   </a>
	   <span>&nbsp;&nbsp;&nbsp;</span>
	   <!--{if $T.AdList.pageVal>$T.AdList.pageOne}!-->
	   <a href="?m=Admin/Ad/AdList&&page=<!--{$T.AdList.pagePre}!-->">
	      上一页
	   </a>
	   <!--{else}!-->
	     <span>上一页</span>
	   <!--{/if}!-->
	   <span>&nbsp;&nbsp;&nbsp;</span>
	   <!--{if $T.AdList.pageVal < $T.AdList.pageLast}!-->
	   <a href="?m=Admin/Ad/AdList&&page=<!--{$T.AdList.pageNext}!-->">
	      下一页
	   </a>
	   <!--{else}!-->
	      <span>下一页</span>
	   <!--{/if}!-->
	   <span>&nbsp;&nbsp;&nbsp;</span>
	   <a href="?m=Admin/Ad/AdList&&page=<!--{$T.AdList.pageLast}!-->">
	      末页
	   </a>
    <!--{/if}!-->
</div></div>
</body>
</html>
